<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		
		<a href="c.html">c</a>
		
		<button onclick="gobacktoA()">gobacktoA</button>
		<button onclick="goForwardtoC()">goForwardtoC</button>
	</body>
	
	<script>
		
		function gobacktoA(){
			//王前面推1个页面
			history.go(-1)
		}
		function goForwardtoC(){
			//王前面推1个页面
			history.go(1);
		}
		
	</script>
</html>
